package com.runshu.newsmartark.mvp.contract;

import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/11/3
 * @decs：
 */

public interface ProductsByCategoryContract {
    interface Model {
        void getProDta(String macAddress, String category, String stockName, String modle, String manufacturer, int expiryDate, int type, int pageSize, int pageNum, BaseCallBack baseCallBack);

        void getInventoryList(String customerId, String hospitalId, String hwId, int pageSize, int pageNum, BaseCallBack baseCallBack);
    }

    interface View {
        void onGetProDtaSuccess(ResponseBean responseBean);

        void onGetInventoryListSuccess(ResponseBean responseBean);

        void onError(String msg);
    }

    interface Presenter {
        void getProDta(String macAddress, String category, String stockName, String modle, String manufacturer, int expiryDate, int type, int pageSize, int pageNum);

        void getInventoryList(String customerId, String hospitalId, String hwId, int pageSize, int pageNum);

    }
}
